package com.changgou.pay.service;

import java.util.Map;

/**
 * @Author: HuangFu
 * @Date: 2020/2/19 10:25
 * @Description:
 */
public interface WXPayService {
    /**
     * 微信下单
     * @param orderId
     * @param money
     * @return
     */
    Map nativePay(String orderId,Integer money);

    /**
     * 查询订单根据订单ID
      * @param orderId
     * @return
     */
    Map orderQuery(String orderId);

    /**
     * 关闭订单
     * @param orderId
     * @return
     */
    Map closeOrder(String orderId);
}
